pip install seaborn matplotlib plotly-express
Requirement already satisfied: seaborn in c:\users\techv\anaconda3\lib\site-packages (0.12.2) Requirement already satisfied: matplotlib in c:\users\techv\anaconda3\lib\site-packages (3.7.2) Requirement already satisfied: plotly-express in c:\users\techv\anaconda3\lib\site-packages (0.4.1) Requirement already satisfied: numpy!=1.24.0,>=1.17 in c:\users\techv\anaconda3\lib\site-packages (from seaborn) (1.24.3) Requirement already satisfied: pandas>=0.25 in c:\users\techv\anaconda3\lib\site-packages (from seaborn) (2.0.3) Requirement already satisfied: contourpy>=1.0.1 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (1.0.5) Requirement already satisfied: cycler>=0.10 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (4.25.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (1.4.4) Requirement already satisfied: packaging>=20.0 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (23.1) Requirement already satisfied: pillow>=6.2.0 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (9.4.0) Requirement already satisfied: pyparsing<3.1,>=2.3.1 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in c:\users\techv\anaconda3\lib\site-packages (from matplotlib) (2.8.2) Requirement already satisfied: plotly>=4.1.0 in c:\users\techv\anaconda3\lib\site-packages (from plotly-express) (5.9.0) Requirement already satisfied: statsmodels>=0.9.0 in c:\users\techv\anaconda3\lib\site-packages (from plotly-express) (0.14.0) Requirement already satisfied: scipy>=0.18 in c:\users\techv\anaconda3\lib\site-packages (from plotly-express) (1.11.1) Requirement already satisfied: patsy>=0.5 in c:\users\techv\anaconda3\lib\site-packages (from plotly-express) (0.5.3) Requirement already satisfied: pytz>=2020.1 in c:\users\techv\anaconda3\lib\site-packages (from pandas>=0.25->seaborn) (2023.3.post1) Requirement already satisfied: tzdata>=2022.1 in c:\users\techv\anaconda3\lib\site-packages (from pandas>=0.25->seaborn) (2023.3) Requirement already satisfied: six in c:\users\techv\anaconda3\lib\site-packages (from patsy>=0.5->plotly-express) (1.16.0) Requirement already satisfied: tenacity>=6.2.0 in c:\users\techv\anaconda3\lib\site-packages (from plotly>=4.1.0->plotly-express) (8.2.2) Note: you may need to restart the kernel to use updated packages.
import seaborn as sns
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import plotly.express as plx
fig, ax = plt.subplots()
#list creation
car = ['vw', 'honda', 'toyota', 'kia']
counts = [40, 100, 30, 55]
#creating labels and colors
bar_labels = ['red', 'blue', '_red', 'orange']
bar_colors = ['tab:red', 'tab:blue', 'tab:red', 'tab:orange']
ax.bar(car, counts, label=bar_labels, color=bar_colors)
#labelling the x axis and y axis
ax.set_ylabel('Car Counts')
ax.set_title('Car supply color')
ax.legend(title='Car color')
#plotting the graph
plt.show()
The graph represents the basic barplot, where the x axis is the car brands and x axis is the sales count of individual car brand with respect to the specific color
sns.set_theme(style="ticks", palette="pastel")
# Load the example tips dataset
tips = sns.load_dataset("tips")
# Draw a nested boxplot to show bills by day and time
sns.boxplot(x="day", y="total_bill",
hue="smoker", palette=["m", "g"],
data=tips)
sns.despine(offset=10, trim=True)
Scatterplot gives and insight of the smoker count for the particular days of the weeks indirectly resulting in the total bill.
#using the iris dataset
df = plx.data.iris()
#using scatterplot
fig = plx.scatter(df, x="sepal_width", y="sepal_length")
#plotting the graph
fig.show()
Understanding the Scatterplot with images 
A scatter plot (aka scatter chart, scatter graph) uses dots to represent values for two different numeric variables. The position of each dot on the horizontal and vertical axis indicates values for an individual data point. Scatter plots are used to observe relationships between variables.
Mastering the markdown: A Simple step for technical writing. For more Information
Markdowns are not only used for formatting articles, but it’s also used for formatting text message, readme files, and lots more.
| Student | Age | Course | Duration |
|---|---|---|---|
| Sam | 23 | Business | 12 months |
| jill | 25 | Arts | 8 months |
| Max | 26 | Computer | 9 months |
This table gives us a brief intro about some students enrolled for a particular courses and their repected time durations.